package com.gao.orange.service.impl;


import com.gao.orange.api.INacosService;
import com.gao.orange.service.INacosConsumerService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @author jinYuLinLang
 * @version 1.0.0
 * @ClassName NacosConsumerServiceImpl.java
 * @Description <p>实现类</p>
 * @createTime 2021-03-08 14:00:00
 */

@Service
public class NacosConsumerServiceImpl implements INacosConsumerService {

    @DubboReference(version = "${dubbo.service.version}", check = false)
    private INacosService nacosService;

    @Override
    public String test() {
        return nacosService.test();
    }
}
